<div class="share-box">
	<div class="on-share share-bg"></div>	
	<div class="share-content">
		<div class="share-content-body">
		<!--{if (strpos($_SERVER['HTTP_USER_AGENT'], 'UCBrowser') or strpos($_SERVER['HTTP_USER_AGENT'], 'MQQBrowser')) and !(strpos($_SERVER['HTTP_USER_AGENT'], 'Android') and strpos($_SERVER['HTTP_USER_AGENT'], 'QQ/')) and !strpos($_SERVER["HTTP_USER_AGENT"], "MicroMessenger")}-->
				<div id="nativeShare"></div>
				<script src="./template/strong_a1/touch/forum/share/nativeShare.js?112"></script>
				<link rel="stylesheet" type="text/css" href="./template/strong_a1/touch/forum/share/nativeShare.css?111" />
				<script>
					var config = {
						url:'<!--{if $aid}-->{$_G['siteurl']}portal.php?mod=view&aid=$aid<!--{else}-->{$_G['siteurl']}forum.php?mod=viewthread&tid=$_G[tid]$fromuid<!--{/if}-->',
						title:'{$_G[forum_thread][subject]}',
						desc:'{$_G[forum_thread][subject]}',
						img:'',
						img_title:'{$_G[forum_thread][subject]}',
						from:'{$_G['setting']['bbname']}'
					};
					var share_obj = new nativeShare('nativeShare',config);
				</script>
		<!--{else}-->		
		<div class="bdsharebuttonbox">		
			<a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a>
			<a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a>
			<a href="#" class="bds_sqq" data-cmd="sqq" title="分享到QQ好友"></a>
			<a class="weixinFriend start-weixinshare"></a>
			<a class="weixin start-weixinshare"></a>
		</div>
		<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>

		<style>
		.bdsharebuttonbox{width: 90%; margin:0 auto;display: flex;}
		.bdsharebuttonbox a{width: 40px; height: 40px!important; display: block;  margin: 0 auto; margin-bottom: 5px; background-repeat: inherit; line-height: 40px; box-sizing: border-box; padding: 0; background-size: cover;}
		.bdshare-button-style0-16 .bds_sqq { background-position: inherit;}
		.bdshare-button-style0-16 .bds_tsina { background-position: inherit;}
		.bdshare-button-style0-16 .bds_qzone {background-position: inherit;}		
		.bdsharebuttonbox .bds_tsina{background-image: url('template/strong_a1/touch/forum/share/icon/weibo.png');}
		.bdsharebuttonbox .bds_sqq{background-image: url('template/strong_a1/touch/forum/share/icon/qq.png');}
		.bdsharebuttonbox .bds_qzone{background-image: url('template/strong_a1/touch/forum/share/icon/qqzone.png');}
		.bdsharebuttonbox .weixinFriend{background-image: url('template/strong_a1/touch/forum/share/icon/weixin_friend.png');}
		.bdsharebuttonbox .weixin{background-image: url('template/strong_a1/touch/forum/share/icon/weixin.png');}
		</style>
		
		
		<!--{/if}-->		
		</div>
		<div class="close-share on-share">{echo $lang['cancel_share'];}</div>
	</div>
</div>
<div class="weixin-share-hint">{echo $lang['weixin_share_text1'];}</div>
<div class="weixin-share-hint-bg on-share"></div>
<script type="text/javascript">
	$('.on-share').on('click',function(){
		if($('.share-box').hasClass('onshare')){
			$('.weixin-share-hint,.weixin-share-hint-bg').hide();
			$(".share-box").removeClass("onshare");
		}else{
			$(".share-box").addClass("onshare");
		}
	});
	
	$('.start-weixinshare').on('click',function(){
		$('.weixin-share-hint,.weixin-share-hint-bg').show();
	});
</script>